package com.wolfcode.goods.domain.vo;

import com.wolfcode.common.annotation.Excel;
import com.wolfcode.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 物品信息对象 goods
 * 
 * @author wolfcode
 * @date 2022-12-10
 */
public class GoodsVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String goodsName;

    /** 封面 */
    @Excel(name = "封面")
    private MultipartFile goodsCover;

    /** 分类 */
    @Excel(name = "分类")
    private List<String> busiPath;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 描述 */
    @Excel(name = "描述")
    private String goodsDesc;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setGoodsCover(MultipartFile goodsCover)
    {
        this.goodsCover = goodsCover;
    }

    public MultipartFile getGoodsCover()
    {
        return goodsCover;
    }
    public void setBusiPath(List<String> categoryId)
    {
        this.busiPath = busiPath;
    }

    public List<String> getBusiPath()
    {
        return busiPath;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }

    public void setGoodsDesc(String goodsDesc) 
    {
        this.goodsDesc = goodsDesc;
    }

    public String getGoodsDesc() 
    {
        return goodsDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsName", getGoodsName())
            .append("goodsCover", getGoodsCover())
            .append("brand", getBrand())
            .append("goodsDesc", getGoodsDesc())
            .toString();
    }
}
